RenderWare V2.1 Table of Contents

Using the Library
Overview
Coordinate Systems
Matrices
The Virtual Camera Model
Hierarchical Modeling
Hierarchical Modeling in RenderWare
Constructing Hierarchical Models in Scripts
Traversing Clump Hierarchies
Finding a Particular Clump In a Hierarchy
The Structure of a RenderWare Program
Initializing the Library
Creating and Initializing a Camera
Creating a Scene
Creating a Light Source and adding it to a Scene
Creating a Clump and adding it to a Scene
Rendering a Scene
Closing the Library
Error Reporting
Debugging
Data Types
Public Types
Numeric Types
Structure Types
Enumerated Types
Bitfield Types
Opaque Types
Immediate Mode
Overview
Clump Callbacks
The Importance Of Bounding Boxes
Materials in Immediate Mode
Z-Buffering In An Immediate Mode Callback
Key Points For Rendering In Immediate Mode Callbacks
Imperative Immediate Mode Rendering Outside Of A Clump Callback
2-D Rendering
Z-Buffer In Immediate Mode
Limitations of Imperative Immediate Mode
Key points in using RwImmediateBegin() and RwImmediateEnd()
Immediate Mode Primitives
Rendering Mode Types
Texture Mapping In Immediate Mode
Rendering Mode Options
Vertex Characteristics
Polygon and Line Characteristics
Examples
Polyline callback example
Immediate mode 2-D rendering.
Immediate mode Z-Buffering
Immediate mode in 16 bit true color
Immediate mode texturing
Immediate mode perspectively correct texturing in 2-D
Immediate mode Z-Buffering in 2-D
Binary File Format
Streams
Chunks
The contents of a chunk
Chunk Scope
Write Flags
Read Flags
Chunk types
Writing User Chunks
Platform independence
The Binary Representation
Function Reference
Obsolete Functions
The Scripting Language
Script Keywords
Miscellaneous Notes
"Object Builder" API Functions
Table A-1: API Function Equivalents of Script Keywords
Platform Specific Information
MS Windows Specific Information
Requirements
Environment Variables
RenderWare Dynamic Link Libraries (DLLs)
Libraries and Include Files
RenderWare and Windows Bitmap Types
RenderWare and Windows Palettes
Windows Specific API Function Parameters
MS Dos Specific Information
Requirements
Environment Variables
RenderWare Library Configuration
Include Files
DOS Device Access
DOS Specific API Function Parameters
Power Macintosh Specific Information
Requirements
RenderWare Import Libraries
Libraries and Include Files
RenderWare and Macintosh Palettes
Macintosh Specific API Function Parameters
Error Codes
Error Descriptions
Error Identifiers and Codes
Table C-1: Errors Sorted Alphabetically By Identifier
Table C-2: Errors Sorted Numerically By Code
The Texture File Formats
Library Defaults
Cameras
Table E-1: Camera Object Defaults
Clumps
Table E-2: Clump Object Defaults
Debugging
Table E-3: Debugging Defaults
Device Information
Table E-4: Device Information Defaults
Errors
Table E-5: Error Status Defaults
Library Global Defaults
Table E-6: Library Global Defaults
Lights
Table E-7: Light Object Defaults
Materials
Table E-8: Material Object Defaults
Matrices
Table E-9: Matrix Object Defaults
Polygons
Table E-10: Polygon Object Defaults
Rasters
Table E-11: Raster Object Defaults
Scenes
Table E-12: Scene Object Defaults
Splines
Table E-13: Spline Object Defaults
System Information
Table E-14: System Information Defaults
Textures
Table E-15: Texture Object Defaults
Texture Dictionaries
Table E-16: Texture Dictionary Defaults
UserDraw
Table E-17: UserDraw Object Defaults
Vertices
Table E-18: Vertex Defaults